.banner-container {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
}
.banner-container .swiper-slide {
  height: 500px;
  background: #efefef;
}
.banner-container .swiper-pagination-bullet {
  background: #000;
}
.banner-container .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 5px;
  transition: width 0.3s ease-in-out;
  background: var(--primary--color);
}

.list-recommend {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-gap: 20px;
  margin-top: 20px;
  grid-auto-rows: 230px;
}
.list-recommend .news-box:first-child {
  grid-row: span 2;
  grid-column: span 4;
}
.list-recommend .news-box {
  grid-column: span 3;
  position: relative;
}
.list-recommend .news-box .img {
  overflow: hidden;
  height: 100%;
  display: block;
  border-radius: 5px;
}
.list-recommend .news-box .text {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 30px;
  border-radius: 5px;
}
.list-recommend .news-box .text .title,
.list-recommend .news-box .text .time {
  color: #fff;
}
.list-recommend .news-box .text .time {
  width: 100px;
  text-align: right;
}
.list-recommend .news-box .text .title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-list .news-nav {
  border-bottom: 1px solid #efefef;
}
.home-list .news-nav ul {
  display: flex;
  align-items: center;
}
.home-list .news-nav ul a {
  font-size: 16px;
  cursor: pointer;
}
.home-list .news-nav ul li {
  position: relative;
  padding: 0 10px 15px;
  margin-right: 10px;
}
.home-list .news-nav ul li::after {
  content: '';
  height: 3px;
  background: var(--primary--color);
  position: absolute;
  bottom: 0;
  left: 50%;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translate(-50%);
  width: 0;
}
.home-list .news-nav ul li:hover::after,
.home-list .news-nav ul li.active::after {
  width: 100%;
  opacity: 1;
}
.home-list .news-nav ul a:hover {
  color: var(--primary--color);
}
.home-list .list-news {
  margin-top: 20px;
  display: none;
}
.home-list .list-news.active {
  display: block;
}
.home-list .news-box {
  background: #fff;
  border-radius: 10px;
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #efefef;
}
.home-list .news-box:last-child {
  border-bottom: none;
}
.home-list .news-box .img {
  width: 300px;
  height: 180px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  margin-right: 20px;
}
.home-list .news-box .text {
  position: relative;
  flex: 1;
  width: 0;
}
.home-list .news-box .title {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 24px;
  display: block;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-list .news-box .title * {
  font-size: 16px;
}
.home-list .news-box .title:hover {
  color: var(--primary--color);
}
.home-list .news-box .description {
  color: #737373;
  line-height: 24px;
  text-align: justify;
}
.home-list .news-box .bottom {
  position: absolute;
  bottom: 0;
  display: flex;
}
.home-list .news-box .time,
.home-list .news-box .click {
  color: #737373;
  margin-right: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.home-list .news-box .tags {
  display: flex;
  align-items: center;
}
.home-list .news-box .tags a {
  display: inline-block;
  margin-right: 5px;
  color: #737373;
}
.home-list .news-box .tags a:hover {
  color: var(--primary--color);
}
.home-list .news-box .time::before,
.home-list .news-box .click::before,
.home-list .news-box .tags::before {
  font-size: 16px;
  margin-right: 5px;
}
.home-list .news-box .click::before {
  font-size: 18px;
}
